<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
<%
/**
 * sizzle framework v4.4
 * create date 2011-11-20
 * update date 2012-01-11
 * owner evio
 * mail evio@vip.qq.cm
 * website http://sizzle.cc
 * this min type
 */
Response.Buffer=true;Response.Charset="UTF-8";var sizzle={_sizzle:sizzle},data={config:{debug:false,charset:"UTF-8",useApp:true,appName:"sizzle"},console:[],base:"/src/",modLoads:{},ActivexObject:{conn:"ADODB.CONNECTION",record:"ADODB.RECORDSET",fso:"Scripting.FileSystemObject",stream:"Adodb.Stream",xmlhttp:"Microsoft.XMLHTTP",xml:"Microsoft.XMLDOM",winhttp:"WinHttp.WinHttpRequest.5.1"}},util={},fn={},JSON={}.constructor,define,require;(function(a,e,c){var d=Object.prototype.toString,b=Array.prototype;c.write=function(h,g){Response.Write(h);g&&Response.End()};a.type=function(g){return Object.prototype.toString.call(g).split(" ")[1].toLowerCase().replace("]","")};a.log=function(h,g){e.console.push('<li class="'+(g?g:"info")+'">'+h+"</li>")};a.console=function(){e.console.length>0&&c.write('<ol class="console">'+e.console.join("")+"</ol>")};a.isArray=function(g){return this.type(g)==="array"};a.isString=function(g){return this.type(g)==="string"};a.isFunction=function(g){return this.type(g)==="function"};a.isNumber=function(g){return this.type(g)==="number"};a.isBoolean=function(g){return this.type(g)==="boolean"};a.isInt=function(g){return this.isNumber(g)?true:(!this.isString(g)?false:!isNaN(g))};a.isObject=function(g){return this.type(g)==="object"};a.unique=function(g){var h=[],j={};f(g,function(l){j[l]=1});if(Object.keys){h=Object.keys(j)}else{for(var i in j){if(j.hasOwnProperty(i)){h.push(i)}}}return h};a.proxy=function(j,i){var l=Array.prototype.slice,g=l.call(arguments,2),h=function(){return j.apply(i,g.concat(l.call(arguments)))};return h};var f=a.forEach=b.forEach?function(g,h){g.forEach(h)}:function(h,l){for(var j=0,g=h.length;j<g;j++){l(h[j],j,h)}}})(util,data,fn);(function(F,D,U,S){var _base=getLocalPath(Server.MapPath("/"),Server.MapPath("."));if(_base.length==0){_base="/"}D.base=(_base+D.base.replace(/^\//,"")+"/").replace(/\/+/g,"/");D.host="http://"+Request.ServerVariables("HTTP_HOST");var regExpress={includeExp:/\<\!\-\-\#include\sfile\s?\=\s?\"(.+?)\"\s?\-\->/g,includeFileExp:/file\=\"(.+)\"/,includeContentForLeftExp:/^[\r\t\s\n]+/,includeContentForRightExp:/[\r\t\s\n]+$/};F.selector=function(selector){if(!/\.asp$/.test(selector)){selector=selector+".asp"}if(/^[\/|\.]/.test(selector)){return Server.MapPath(selector)}else{return Server.MapPath(D.base+selector)}};F.module=function(id,deps,factory){this.id=id;this.deps=deps||[];this.factory=factory;this.exports={}};define=F.define=function(){var id="",deps=[],factory,arglen=arguments.length;if(arglen===0){return}for(var i=0;i<arglen;i++){if(U.isString(arguments[i])){id=arguments[i]}else{if(U.isArray(arguments[i])){deps=arguments[i]}else{if(U.isFunction(arguments[i])){factory=arguments[i]}}}}if(id===undefined){return}id=F.selector(id);if(D.modLoads[id]==undefined){if(U.isFunction(factory)){var _deps=parseDependencies(factory.toString());deps=deps.concat(_deps)}var Mod=new F.module(id,deps,factory);D.modLoads[id]=Mod}};S.use=function(ids,fn){loadDeps(ids,false,function(relizeIds){S.load(relizeIds,fn,false)})};S.load=function(){var ids,fn,parseServer,applyArguments=[];for(var j=0;j<arguments.length;j++){if(U.isString(arguments[j])){ids=[arguments[j]]}else{if(U.isArray(arguments[j])){ids=arguments[j]}else{if(U.isFunction(arguments[j])){fn=arguments[j]}else{if(U.isBoolean(arguments[j])){parseServer=arguments[j]}}}}}if(parseServer==undefined){parseServer=true}for(var i=0;i<ids.length;i++){var id=ids[i];if(parseServer==true){id=F.selector(id)}var Mod=D.modLoads[id],deps=Mod.deps||[],factory=Mod.factory;if(deps.length>0){loadDeps(deps)}var _Mod=factory!=undefined?factory.call(S,S.load,Mod.exports||{},Mod)||(Mod.exports||{}):undefined;applyArguments.push(_Mod)}return fn==undefined?applyArguments:fn.apply(S,applyArguments)};S.include=F.fetch=function(id,parseServer){if(parseServer==undefined){parseServer=true}if(parseServer==true){id=F.selector(id)}return GrepSytax(ReadFileContainer(id))};function ReadFileContainer(id){var o=new ActiveXObject(D.ActivexObject.stream),Text;o.Type=2;o.Mode=3;o.Open();o.Charset=D.config.charset;o.Position=o.Size;o.LoadFromFile(id);Text=o.ReadText;o.Close;o=undefined;return reLoadContainerFileRelative(Text,id.split("/").slice(0,-1).join("/"))}function reLoadContainerFileRelative(context,localFo){var l=0,text="",r=0,p="",e,t,tempText;if(regExpress.includeExp.test(context)){while(l>-1){l=context.indexOf("<!--#include");if(l>-1){text+=context.substring(0,l);context=context.substring(l+12);r=context.indexOf("-->");p=context.substring(0,r);e=p.replace(/file\s?\=\s?\"/,"").replace(/\"/g,"").trim();if(localFo.length==0){t=e}else{t=localFo+"/"+e}context=context.substring(r+3);tempText=ReadFileContainer(Server.MapPath(t));text+=reLoadContainerFileRelative(tempText,t.split("/").slice(0,-1).join("/"))}else{text+=context;context=""}}return text}else{return context}}function GrepSytax(context){context=context.replace(regExpress.includeContentForLeftExp,"").replace(regExpress.includeContentForRightExp,"");function textformat(t){if(t.length>0){return';Response.Write("'+t.replace(/\\/g,"\\\\").replace(/\"/g,'\\"').replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\s/g," ").replace(/\t/g,"\\t")+'");'}else{return""}}var blank="",conSplit=context.split("<"+blank+"%"),r=0,text="",temp;for(var i=0;i<conSplit.length;i++){r=conSplit[i].indexOf("%"+blank+">");if(r>-1){temp=textformat(conSplit[i].substring(r+2));text+=(/^\=/.test(conSplit[i])?";Response.Write("+conSplit[i].substring(1,r)+");":conSplit[i].substring(0,r))+temp}else{text+=textformat(conSplit[i])}}return text}function parseDependencies(code){var pattern=/(?:^|[^.])\brequire\s*\(\s*(["'])([^"'\s\)]+)\1\s*\)/g;var ret=[],match;code=removeComments(code);while((match=pattern.exec(code))){if(match[2]){ret.push(match[2])}}return U.unique(ret)}function removeComments(code){return code.replace(/(?:^|\n|\r)\s*\/\*[\s\S]*?\*\/\s*(?:\r|\n|$)/g,"\n").replace(/(?:^|\n|\r)\s*\/\/.*(?:\r|\n|$)/g,"\n")}function getLocalPath(root,local){if(root!=local){return(function(){var j=local.replace(new RegExp("^"+root.replace(/\\/g,"\\\\")),"").substring(1).split("\\").length,temp="";for(var i=0;i<j;i++){temp+="../"}return temp})()}else{return""}}function loadDeps(ids,callback,fn){var relizeIds=[];if(!U.isArray(ids)){ids=[ids]}for(var i=0;i<ids.length;i++){var id=F.selector(ids[i]);if(D.modLoads[id]==undefined){eval(F.fetch(id,false))}relizeIds.push(id);U.isFunction(callback)&&callback(id)}U.isFunction(fn)&&fn(relizeIds)}})(fn,data,util,sizzle);(function(c,b,e){var a=/^[\],:{}\s]*$/,d=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,f=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,g=/(?:^|:|,)(?:\s*\[)+/g;c.trim=c.trim?c.trim:function(){return this.replace(/^\s+/,"").replace(/\s+$/,"")};c.parseJSON=function(){var h=this;if(h==undefined||!util.isString(h)){return undefined}h=h.trim();if(a.test(h.replace(d,"@").replace(f,"]").replace(g,""))){return(new Function("return "+h))()}else{return undefined}};c.write=function(){e.write(this);return this};c.sql=function(){var h=this;[[/(w)(here)/ig,"$1h&#101;re"],[/(s)(elect)/ig,"$1el&#101;ct"],[/(i)(nsert)/ig,"$1ns&#101;rt"],[/(c)(reate)/ig,"$1r&#101;ate"],[/(d)(rop)/ig,"$1ro&#112;"],[/(a)(lter)/ig,"$1lt&#101;r"],[/(d)(elete)/ig,"$1el&#101;te"],[/(u)(pdate)/ig,"$1p&#100;ate"],[/(\s)(or)/ig,"$1o&#114;"],[/(java)(script)/ig,"$1scri&#112;t"],[/(j)(script)/ig,"$1scri&#112;t"],[/(vb)(script)/ig,"$1scri&#112;t"],[/(expression)/ig,"e&#173;pression"],[/(c)(ookie)/ig,"&#99;ookie"],[/(Object)/ig,"&#79;bject"],[/(script)/ig,"scri&#112;t"]].each(function(j,l){h=h.replace(j[0],j[1])});return h};c._sql=function(){var h=this;[[/(w)(h&#101;re)/ig,"$1here"],[/(s)(el&#101;ct)/ig,"$1elect"],[/(i)(ns&#101;rt)/ig,"$1nsert"],[/(c)(r&#101;ate)/ig,"$1reate"],[/(d)(ro&#112;)/ig,"$1rop"],[/(a)(lt&#101;r)/ig,"$1lter"],[/(d)(el&#101;te)/ig,"$1elete"],[/(u)(p&#100;ate)/ig,"$1pdate"],[/(\s)(o&#114;)/ig,"$1or"],[/(java)(scri&#112;t)/ig,"$1script"],[/(j)(scri&#112;t)/ig,"$1script"],[/(vb)(scri&#112;t)/ig,"$1script"],[/(e&#173;pression)/ig,"expression"],[/&#99;(ookie)/ig,"c$1"],[/&#79;(bject)/ig,"O$1"],[/(scri)&#112;(t)/ig,"$1p$2"]].each(function(j,l){h=h.replace(j[0],j[1])});return h};c.cStr=function(){var h=this;[[/\</g,"&#60;"],[/\>/g,"&#62;"]].each(function(j,l){h=h.replace(j[0],j[1])});return h};c._cStr=function(){var h=this;[[/&#60;/g,"<"],[/&#62;/g,">"]].each(function(j,l){h=h.replace(j[0],j[1])});return h};c.tStr=function(){var h=this;[[/textarea/ig,"t&#101;xtarea"]].each(function(j,l){h=h.replace(j[0],j[1])});return h};c._tStr=function(){var h=this;[[/t&#101;xtarea/ig,"textarea"]].each(function(j,l){h=h.replace(j[0],j[1])});return h};c.cut=function(){var m,h,x,t=0,v="",w=this,y;for(var l=0;l<arguments.length;l++){if(b.isInt(arguments[l])){m=arguments[l]}if(b.isString(arguments[l])){x=arguments[l]}if(b.isBoolean(arguments[l])){h=arguments[l]}}for(var u=0;u<w.length;u++){y=w.charAt(u);if(h){var p=/[^\u4E00-\u9FA5]/g.test(y);if(p&&t+1<=m){t++;v+=y}else{if(t+2<=m){t=t+2;v+=y}else{break}}}else{if(t+1<=m){t++;v+=y}else{break}}}if(v!=w){v+=(x||"...")}return v};c.removeHTML=function(){return this.replace(/<[^>]*?>/g,"").replace(/\n\t\r/g,"")};c.removeUBB=function(){return this.replace(/\[(\w+).*?\](.+)\[\/\1\]/g,"$2").replace(/\n\t\r/g,"")};c.left=function(h){return this.substr(0,h)};c.right=function(h){return this.substr(this.length-h,h)};c.mid=function(j,h){return this.substr(j-1,h)};c.unicode=function(){var j="",h=this;for(var l=0;l<h.length;l++){j+="&#"+h.charCodeAt(l)+";"}return j};c._unicode=function(){var i=this;k=i.split(";"),r="";for(var h=0;h<k.length;h++){r+=String.fromCharCode(k[h].replace(/&#/,""))}return r};c.session=function(){return e.session(this)||""};c.clearSession=function(){e.clearSession(this)};c.application=function(h){var i=this;if(h===undefined){return e.application(i.toString())}else{e.application(i.toString(),h)}};c.clearApplication=function(){var h=this;e.clearApplication(h.toString())}})(String.prototype,util,fn);(function(a,b,c){a.unique=function(d){return d===true?b.unique(this).reverse():b.unique(this)};a.each=function(d){return b.forEach(this,d)};a.eq=function(d){return d===-1?this.slice(d):this.slice(d,+d+1)};a.map=function(j){var d=[],g,h=this;for(var e=0,f=h.length;e<f;e++){g=j.call(h,h[e],e)||null;if(g!==null){d[d.length]=g}}return d.concat.apply([],d)};a.indexOf=function(f){var d=-1,e=0,g=this;for(;e<g.length;e++){if(g[e]===f){d=e;break}}return d};a.lastIndexOf=function(f){var d=-1,g=this;for(var e=g.length;e>-1;e--){if(g[e]===f){d=g.length-e-1;break}}return d};a.first=function(){return this.eq(0)};a.last=function(){return this.eq(-1)};a.remove=function(e){if(b.isString(e)){var d=this.indexOf(e);if(d>-1){return this.remove(d)}}else{if(e===0){this.splice(0,1)}else{if(b.isInt(e)){this.splice(e,1)}}}return this};a.trim=function(){return this.map(function(d){return d.toString().trim()})};a.unique=function(){return b.unique(this)};a.session=function(){return this.map(function(d){return c.session(d)||null})};a.clearSession=function(){this.each(function(d){c.clearSession(d)})};a.application=function(){return c.application(this)};a.clearApplication=function(){c.clearApplication(this)}})(Array.prototype,util,fn);(function(b,a){b.write=function(){this.toString().write()}})(Number.prototype,util);(function(a){a.format=function(i){var d=this,j=(d.getFullYear()).toString(),m=d.getMonth(),h=(m+1).toString(),l=(d.getDate()).toString(),e=(d.getHours()).toString(),g=(d.getMinutes()).toString(),c=(d.getSeconds()).toString(),n,f;var b=["January","February","March","April","May","June","July","August","September","October","November","December"];h=h.length===1?"0"+h:h;n=l;l=l.length===1?"0"+l:l;e=e.length===1?"0"+e:e;g=g.length===1?"0"+g:g;c=c.length===1?"0"+c:c;return i.replace(/y/g,j).replace(/m/g,h).replace(/d/g,l).replace(/h/g,e).replace(/i/g,g).replace(/s/g,c).replace(/M/g,b[m]).replace(/D/g,n)}})(Date.prototype,util);(function(c,a,b){c.toStr=function(){return JSON.stringify(this)};c.session=function(){for(var d in this){b.session(d,this[d])}};c.application=function(){b.application(this)};c.cookie=function(d){b.cookie(this,undefined,d)}})(Object.prototype,util,fn);(function(b,a,d){b.emtor=function(g,h){var f=new Enumerator(g),e=[];for(;!f.atEnd();f.moveNext()){if(util.isFunction(h)){e.push(h.call(f,f.item()))}else{e.push(f.item())}}return e};b.posts=function(f){try{return b.emtor(Request.Form(f))}catch(g){return[]}};b.gets=function(f){try{return b.emtor(Request.QueryString(f))}catch(g){return[]}};b.get=function(f,e){var g=this.gets(f);if(a.isArray(g)&&g.length===0){return e||undefined}else{return g[0]}};b.post=function(f,e){var g=this.posts(f);if(a.isArray(g)&&g.length===0){return e||undefined}else{return g[0]}};b.getIP=function(){var e=String(Request.ServerVariables("HTTP_X_FORWARDED_FOR")).toLowerCase();if(e=="undefined"){e=String(Request.ServerVariables("REMOTE_ADDR")).toLowerCase()}return e};b.session=function(e,f){if(e===undefined&&f===undefined){this.clearSession()}else{if(f===undefined){return Session(e)}else{Session(e)=f}}};b.clearSession=function(e){if(e===undefined){Session.Contents.RemoveAll()}else{Session.Contents.Remove(e)}};b.application=function(f,g){if(f===undefined&&g===undefined){this.clearApplication()}else{var h;if(g===undefined){if(a.isObject(f)){Application.Lock();h=Application.StaticObjects(d.config.appName);for(var e in f){h.Item(e)=f[e]}Application.UnLock()}else{if(a.isArray(f)){h=Application.StaticObjects(d.config.appName);return f.map(function(i){return h.Item(i)})}else{if(a.isString(f)){h=Application.StaticObjects(d.config.appName);return h.Item(f)}}}}else{Application.Lock();h=Application.StaticObjects(d.config.appName);h.Item(f)=g;Application.UnLock()}}};b.clearApplication=function(g){Application.Lock();if(g===undefined){Application.StaticObjects(d.config.appName).RemoveAll()}else{var j=Application.StaticObjects(d.config.appName),f;try{if(a.isArray(g)){for(f=0;f<g.length;f++){j.Remove(g[f])}}else{if(a.isString(g)){j.Remove(g)}}}catch(h){}}Application.UnLock()};b.cookie=function(h,l,g){var f="";if(a.isObject(h)){for(var j in h){b.cookie(j,h[j],g)}return}if(a.isString(h)){if(l===undefined){return(function(p){try{var i=c(p);f=i[0];if(i.length===2){return Request.Cookies(i[0])(i[1])||""}else{return Request.Cookies(i[0])||""}}catch(o){return""}})(h)}else{var e=c(h);f=e[0];if(e.length===2){Response.Cookies(e[0])(e[1])=l}else{Response.Cookies(e[0])=l}}}if(g===undefined||!a.isInt(g)||(g===0)){return}if(f.length>0){if(g>0){var m=new Date();m.setDate(m.getDate()+g);Response.Cookies(f).Expires=m.format("M D, y")}}};b.clearCookie=function(e){e=c(e);Response.Cookies(e[0]).Expires="1/1/1980"};function c(e){return e.split(",").trim()}})(fn,util,data);(function(){function f(n){return n<10?"0"+n:n}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf()}}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+string+'"'}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key)}if(typeof rep==="function"){value=rep.call(holder,key,value)}switch(typeof value){case"string":return quote(value);case"number":return isFinite(value)?String(value):"null";case"boolean":case"null":return String(value);case"object":if(!value){return"null"}gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length;for(i=0;i<length;i+=1){partial[i]=str(i,value)||"null"}v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";gap=mind;return v}if(rep&&typeof rep==="object"){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k==="string"){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v}}if(typeof JSON.stringify!=="function"){JSON.stringify=function(value,replacer,space){var i;gap="";indent="";if(typeof space==="number"){for(i=0;i<space;i+=1){indent+=" "}}else{if(typeof space==="string"){indent=space}}rep=replacer;if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("JSON.stringify")}return str("",{"":value})}}if(typeof JSON.parse!=="function"){JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object"){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v}else{delete value[k]}}}}return reviver.call(holder,key,value)}text=String(text);cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("JSON.parse")}}}());(function(c){var a="/global.asa",b=new ActiveXObject(c.ActivexObject.fso),e='<object id="'+(c.config.appName||"sizzle")+'" runat="server" scope="Application" progid="Scripting.Dictionary"></object><script language="JScript" runat="Server">function Session_OnStart(){};function Session_OnEnd(){};function Application_OnStart(){};function Application_OnEnd(){};<\/script>';if(c.config.useApp&&!b.FileExists(Server.MapPath(a))){var d=new ActiveXObject(c.ActivexObject.stream);d.Type=2;d.Mode=3;d.Open();d.Charset=c.config.charset;d.Position=d.Size;d.WriteText=e;d.SaveToFile(Server.MapPath(a),2);d.Close;d=null}b=null})(data);%>